package com.briup.appointment.controller;

import com.briup.appointment.common.ApiResponse;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RestController
@RequestMapping("/me/metrics")
public class MetricsController {

    @GetMapping("/summary")
    public ApiResponse<Map<String, Object>> summary(@RequestParam Long userId) {
        Map<String, Object> data = new HashMap<>();
        data.put("totalAppointment", 0);
        data.put("completed", 0);
        data.put("canceled", 0);
        return ApiResponse.ok(data);
    }
}


